package com.example.utils;

public class FileUtils {
    public static String getFileExtension(String fileName) {
        int dotIndex = fileName.lastIndexOf('.');
        if (dotIndex > -1) {
            return fileName.substring(dotIndex);
        } else {
            return "";
        }
    }
}


